﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UserManage.aspx.cs" Inherits="WebApplication1.Page.UserManage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:GridView ID="GridView1" runat="server" ondatabound="GridView1_DataBound" 
                    onpageindexchanging="GridView1_PageIndexChanging" 
                    onrowcreated="GridView1_RowCreated" 
                    onselectedindexchanging="GridView1_SelectedIndexChanging" 
            AutoGenerateColumns="False">
                    <Columns>
	                    <asp:BoundField DataField="UserName" HeaderText="用户" />
	                    <asp:BoundField DataField="creationdate" HeaderText="创建时间" />
	                    <asp:CheckBoxField DataField="isapproved" HeaderText="有效" />
                        <asp:CheckBoxField DataField="isonline" HeaderText="在线" />
                        <asp:CheckBoxField DataField="islockedout" HeaderText="锁定" />
	                    <asp:BoundField DataField="comment" HeaderText="备注" />
                        <asp:ButtonField ButtonType="Button" Text="编辑" />
                        <asp:ButtonField ButtonType="Button" Text="删除" />
                    </Columns>
                </asp:GridView>
    </p>
</asp:Content>
